﻿namespace ESoft.Extensions
{
    public static class DoubleExtension
    {
        public static string ToStringWithPrecision(this double numbericValue, int floatPrecision = 0)
        {
            return string.Format(DecimalExtensions.GetNum2StrFormatter(floatPrecision), numbericValue);
        }
    }
}